package fhp.hlhj.giantfold.presenter

import com.lzy.okgo.model.HttpParams
import fhp.hlhj.giantfold.interfaces.ILunbo
import fhp.hlhj.giantfold.javaBean.LunBoBean
import fhp.hlhj.giantfold.module.LunboModule

/**
 * Created by Administrator on 2018\2\8 0008.
 */
class LunboPresenter(private val iLunbo: ILunbo) : LunboModule.OnlunBoRersp {
    override fun showLoading() {
    }

    override fun onResp(t: LunBoBean) {
        iLunbo.onResp(t)
    }

    private val module=LunboModule()

    fun getLunbo(params: HttpParams){
        module.getLunbo(params,this)
    }
}